package com.jx.db137.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jx.db137.common.R;
import com.jx.db137.entity.Menu;
import com.jx.db137.entity.Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jx
 * @version 1.0
 * @Description
 * @date 2024/12/3 13:41
 */
@Service
public interface RoleService extends IService<Role>{

    int insert(Role role);

    List<Role> selectRoleByUserId(@Param("userid")int userid);
}
